feat: place all styles in global vars#1923
Merged
emir-karabeg merged 2 commits intostagingfrom Nov 12, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile OverviewGreptile SummaryThis PR introduces a centralized color system by adding comprehensive CSS variables to Key Changes:
Concerns:
Confidence Score: 3/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant GC as globals.css
participant Comp as Components (77 files)
participant UI as UI Rendering
Dev->>GC: Add semantic color tokens<br/>(--bg, --surface-*, --text-*, etc.)
Dev->>GC: Add extended palette<br/>(--c-E5E5E5, --c-414141, etc.)
Dev->>GC: Add RGB variants for opacity
loop For each component
Dev->>Comp: Replace hardcoded hex colors
Comp-->>Comp: Update from bg-[#1E1E1E]
Comp-->>Comp: to bg-[var(--surface-1)]
Dev->>Comp: Update dark mode variants
Comp-->>Comp: Update from dark:bg-[#363636]
Comp-->>Comp: to dark:bg-[var(--surface-9)]
end
Dev->>Comp: Update .cursorrules examples
Comp->>GC: Reference CSS variables
GC->>UI: Apply consistent theming
Note over GC,UI: Centralized color management<br/>Single source of truth
|
7a92ef7 to
6e8ba70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Places all styles in global vars and fixes some styling elements.
Type of Change
Testing
Solo testing.
Checklist